﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     Json序列化实体类库
//     新闻标题序列化对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using CL.Json.Entity;
using System.Collections.Generic;

namespace CL.Entity.Json.WebAPI
{
    /// <summary>
    /// NewsTitleResult 对象
    /// 新闻标题回调
    /// </summary>
    public class NewsTitleResult : JsonResult
    {
        public List<NewsTitle> Data { set; get; }
    }
    /// <summary>
    /// NewsTitle 对象
    /// 新闻标题
    /// </summary>
    public class NewsTitle
    {
        /// <summary>
        /// 新闻ID
        /// </summary>
        public int ID { set; get; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { set; get; }

        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { set; get; }

        /// <summary>
        /// 内容连接
        /// </summary>
        public string LookUrl { set; get; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public string Time { set; get; }
    }
}
